package clientGUI.userPanels.Controllers;

import college.RequestTreatment;
import college.User;
import clientGUI.Controllers.Controller;
import clientserver.Client;

public class ProcessLeaderPanelController extends Controller {
	int rid;
	RequestTreatment r;
	private User connectedUser;
	
	public ProcessLeaderPanelController(int rid,Client cl){
		client = cl;
		this.rid = rid;
	}
	
	public void approveProcessComplete(){
		r = new RequestTreatment(client,rid);
		r.setcurrentstage(12);
		r.updatestageindb();
	}
	public void setUser(User u){
		connectedUser = u;
	}
	public User getUser(){
		return connectedUser;
	}

}
